/*
 * Copyright (c) 2023-2299 深圳市阿毛科技有限公司 All rights reserved.
 *
 * https://www.lamyz.com/
 *
 * 未经允许，不可做商业用途！
 *
 * 版权所有，侵权必究！
 */

package com.lam.mall.app.param;

import javax.validation.constraints.NotBlank;

import org.hibernate.validator.constraints.Length;

import lombok.Data;

/**
 */
@Data
//@Schema(description = "设置用户信息")
public class UserRegisterParam {

	//@Schema(description = "密码" )
	@NotBlank
	private String passWord;

	//@Schema(description = "邮箱" )
	private String userMail;

	//@Schema(description = "昵称" )
	private String nickName;

	//@Schema(description = "用户名" )
	@NotBlank
	@Length(max = 32, min = 8, message = "用户名长度为8-32个字符")
	private String userName;

	//@Schema(description = "手机号" )
	private String mobile;

	//@Schema(description = "头像" )
	private String img;

	//@Schema(description = "校验登陆注册验证码成功的标识" )
	private String checkRegisterSmsFlag;

	//@Schema(description = "当账户未绑定时，临时的uid" )
	private String tempUid;

	//@Schema(description = "用户id" )
	private String userId;
}
